package org.example.mallcommon.projo;

import cn.hutool.json.JSONUtil;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * @author 韩先楚
 * 商品类
 */
@Data
@TableName("products")
public class Products {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private Integer userId;
    private String title;
    private String description;
    private BigDecimal price;
    /**
     * 商品状态：0-下架，1-上架
     */
    private Integer status;
    private Date createTime;
    private Date updateTime;

}